package com.ldu.houserent.service;

import com.ldu.houserent.common.base.BaseService;
import com.ldu.houserent.entity.Mark;

import java.util.List;

/**
 * 收藏Service接口
 */
public interface MarkService extends BaseService<Mark,Long> {

    /*
        根据用户id和房屋id，查询该用户是否已经收藏过该房屋
     */
    List<Mark> findByUserIdAndHouseId(Long userId,Long houseId);
}
